<template>
  <transition name="slide">
    <slot></slot>
  </transition>
</template>

<script>
  export default {
    name: 'SlideLeft'
  }
</script>

<style lang="scss" scoped>
  .slide-enter, .slide-leave-to {
    transform: translate3d(100%, 0, 0);
  }
  .slide-enter-active, .slide-leave-active {
    transition:  all 0.2s linear;
  }
</style>
